home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Tampa Bay Amiga Group / TBAG - Tampa Bay Amiga Group's Disk of the Month #65 (1992)(Merlin's Software - Amiganuts United)(PD).zip / TBAG - Tampa Bay Amiga Group's Disk of the Month #65 (1992)(Merlin's Software - Amiganuts United)(PD).adf / Docs / MKS_Lens.docs < prev    next >
Text File  |  1992-03-15  |  3KB  |  64 lines

  1. This is yet another lens program.  I did this after having
  2. written a *VERY* fast magnify routine.  It was rather trivial
  3. as you can see by the source code: MKS_Lens.c  The Magnify
  4. routine is in Magnify.asm and is as close to optimal as I can
  5. make.  (Only 3 lines optimized by CAPE, so there are some, but
  6. CAPE takes care of that...)
  7.  
  8. To use, just run from the CLI or WorkBench.
  9.  
  10. The gadgets are:
  11.  
  12. Bottom-Left:  The HashMark:  This turns on/off the pixel grid.
  13.  
  14.               The "+":       This turns on/off the pointer
  15.                              crosshairs.
  16.  
  17.               The "F":       This turns on/off the "FAST" mode.
  18.                              In Normal use, the program does a
  19.                              Delay() between each update.  With
  20.                              "FAST" on, it will do the updates as
  21.                              quickly as possible...
  22.  
  23.               The "J":       This is a "Hack" option and should
  24.                              be used "At Your Own Risk"  What this
  25.                              does is "JUMP" the lens to the next
  26.                              screen.  Since this goes to ANY screen
  27.                              and not just PUBLIC screens, this is
  28.                              not a system-legal operation.  Do not
  29.                              complain if you have problems while
  30.                              using this option.
  31.  
  32. Bottom-Right: The +/- gads:  These change the magnification factor
  33.                              in either X or Y.  The magnification
  34.                              factor is limited to the range of
  35.                              [1,16] (closed interval)
  36.  
  37.                              Shift-Clicking on the gadget will change
  38.                              both X and Y if possible.
  39.                              (That is:  If you Shift-Click the X+
  40.                               and X can be increased then Y will be
  41.                               increased)
  42.  
  43. Keyboard:
  44.  
  45. Display Lock:    F10 or ScrL    This locks the lens to the current display
  46.                 position.  Thie makes it possible to move the
  47.                 mouse and still see the same location on the
  48.                 display.
  49.  
  50. Clear Origin:    F1        This clears the origin set by the SetOrigin
  51.  
  52. Set Origin:    F2        This sets the current position as the 0,0
  53.                 origin.  This is useful for measurement
  54.                 and for dealing within window coordinate
  55.                 space.
  56.  
  57. /----------------------------------------------------------------------\
  58. |      /// Michael Sinz  -  Senior Amiga Software Engineer             |
  59. |     ///                   Operating System Development Group         |
  60. |    ///   BIX:  msinz      UUNET:  rutgers!cbmvax!mks                 |
  61. |\\\///                                                                |
  62. | \XX/     Quantum Physics:  The Dreams that Stuff is made of.         |
  63. \----------------------------------------------------------------------/
  64.